﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using DailyComics.Common.Model.ImageProvideStrategies;

namespace DailyComics.Common.Model
{
  public class MainModel
  {

    private ImageProvider provider;

    public MainModel()
    {
      provider = new ImageProvider();
    }

    public ImageSource GetImageByDaye(DateTime date)
    {
      return provider.GetImage(date);
    }
  }
}
